#!/bin/bash
set -xe
BASE_PATH=$(cd `dirname $0`; cd ..; pwd)
cd $BASE_PATH

chmod +x src/check.sh
docker run --rm -v $PWD:$PWD docker.hongchow.com:8443/common/php-fpm:2.0.0-test $PWD/src/check.sh
